package com.bayss.web.controller;

import com.bayss.core.constant.ResultMsg;
import com.bayss.core.service.GradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 评分管理
 */
@RestController
public class GradeController extends ApiBaseController {
    @Autowired
    private GradeService gradeService;

    /**
     * 查询
     */
    @RequestMapping(value = "/grade/list.json")
    public ResultMsg list() {
        return ResultMsg.success(gradeService.list());
    }

}
